Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 22, 2025

Updates the requirements on typed-builder to permit the latest version.

Release notes

Sourced from typed-builder's releases.

0.21.0 - 2025-03-20

Added

  • Added ignore_invalid option to strip_option to skip stripping for non-Option fields
  • Added fallback_prefix and fallback_suffix options to strip_option for customizing fallback method names
  • Added support for field defaults with strip_option and its fallback options

Changed

  • Improved handling of strip_option to work better with field defaults
  • Made strip_option more flexible with non-Option fields when ignore_invalid is set
Changelog

Sourced from typed-builder's changelog.

0.21.0 - 2025-03-20

Added

  • Added ignore_invalid option to strip_option to skip stripping for non-Option fields
  • Added fallback_prefix and fallback_suffix options to strip_option for customizing fallback method names
  • Added support for field defaults with strip_option and its fallback options

Changed

  • Improved handling of strip_option to work better with field defaults
  • Made strip_option more flexible with non-Option fields when ignore_invalid is set

0.20.1 - 2025-03-14

Fixed

  • Fix mutator with type parameter using associated type (see issue #157)

0.20.0 - 2024-08-22

Added

  • Add #[builder(setter(strip_option(fallback = field_opt)))] to add a fallback unstripped method to the builder struct.
  • Add #[builder(setter(strip_bool(fallback = field_bool)))] to add a fallback setter that takes the bool value to the builder struct.

0.19.1 - 2024-07-14

Fixed

  • Fix mutators for generic fields (see issue #149)

0.19.0 - 2024-06-15

Added

  • Use fields' doc comments for the setters.

0.18.2 - 2024-04-16

Fixed

  • Also add the licenses to the macro crate.

0.18.1 - 2024-01-17

Fixed

  • Add #[allow(clippy::no_effect_underscore_binding)] to generated methods that need to destructure intermediate builder state.
  • Use a proper OR syntax for the dual license.

0.18.0 - 2023-10-19

Fixed

  • ?Sized generic parameters are now supported.

0.17.0 - 2023-10-15

Changed

  • Internal refactor of attribute parsing - results in better error messages and easier proces for adding new settings.

Added

  • #[builder(mutators(...))] to generate functions on builder to mutate fields
  • #[builder(via_mutator)] on fields to allow defining fields initialized during ::builder() for use with mutators

... (truncated)

Commits
  • cf9bf18 Bump version
  • 7aacd94 Simplify an if chain a bit
  • 00aadd4 options_was_stripped -> option_was_stripped
  • c14351d Merge pull request #160 from ifiokjr/issue/153
  • 0b7dcf5 Respond to pull request comments
  • edfd39d Run cargo fmt
  • 0201b22 Improve field_defaults(strip_option) semantics
  • eed0861 Add retrospective-crate-version-tagging script
  • 3668822 Bump bugfix version
  • 6305fc0 Merge pull request #158 from azriel91/improvement/mutator-with-type-param
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [typed-builder](https://github.com/idanarye/rust-typed-builder) to permit the latest version.
- [Release notes](https://github.com/idanarye/rust-typed-builder/releases)
- [Changelog](https://github.com/idanarye/rust-typed-builder/blob/master/CHANGELOG.md)
- [Commits](idanarye/rust-typed-builder@v0.20.0...v0.21.0)

---
updated-dependencies:
- dependency-name: typed-builder
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Mar 22, 2025
@0x676e67 0x676e67 merged commit c7716f1 into main Mar 22, 2025
6 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/typed-builder-0.21.0 branch March 22, 2025 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant